import fileinput
import MySQLdb
import csv

myfile_1 = open('D:\\seqdatatset\\seq_test_1.csv', 'wb')
wr_1 = csv.writer(myfile_1)
 
for line in fileinput.input(['D:\\seqdatatset\\seq_test.csv']):       
    line = line.strip().rstrip(',')
    element = line.split(',')
    wr_1.writerow(element)

print "done"

    

